<!DOCTYPE html>
<html>
<head>
	<title>帖子回收站管理</title>
</head>
<body>
<link rel="stylesheet" type="text/css" href="__CSS__/main.css">
</head>
<body class="clear">
<!-- 头部区域 -->
<div id="nav_div">
	<!-- logo -->
	<img src="__IMG__/people.png" id="people">
	<h2 class="mesH">论坛后台管理</h2>
	<div class="mesWec">
		<span>欢迎您：{:session('aNick')}</span>
	</div>
</div>
<!-- 导航栏区域 -->
<div id="mesNavBar">
	<ul>
		<li><a href="{:url('deal/mesDeal')}">帖子管理</a></li>
		<li><a href="{:url('deal/userDeal')}">用户管理</a></li>
		<li><a href="{:url('deal/secDeal')}">版块管理</a></li>
		<li><a href="{:url('bindeal/binSecDeal')}">回收站管理</a></li>
		<li><a href="{:url('advdeal/advDeal')}">广告管理</a></li>
		<li><a href="{:url('advdeal/boxDeal')}">轮播图管理</a></li>
		<li><a href="{:url('admin/apa')}">修改密码</a></li>
		<li><a href="{:url('admin/alogOut')}">注销</a></li>
		<li><a href="{:url('../forum/index/index')}">论坛前台</a></li>
	</ul>
</div>
<div class="daohanglan" style="padding:0px;">
	<div class="return">
		<span>选择回收站：</span>
		<ul>
			<li><a href="{:url('bindeal/binSecDeal')}">版块回收站管理</a></li>
			<li><a href="{:url('bindeal/binMesDeal')}" style="background-color: #EAEAEA;">帖子回收站管理</a></li>
			<li><a href="{:url('bindeal/binResDeal')}">回复回收站管理</a></li>
		</ul>
	</div>
</div>
<div class="daohanglan" style="padding:0px;">
	<div class="return">
		<span>选择版块：</span>
		<ul>
			{volist name="sec" id="secRow"}
			<li><a href="{:url('bindeal/binMesDeal',['sid'=>$secRow.s_id])}">{$secRow.s_name}</a></li>
			{/volist}
		</ul>
	</div>
</div>
<div class="daohanglan" style="font-weight:bold">
	<div style="font-weight:bold;">当前版块：{$thisSec}</div>
	<form action="{:url('bindeal/binMesDeal')}" method="get" enctype="multipart/form-data" style="margin-left:61%;">
		<input type="text" style="margin-left:52%" name="find">
		<input type="submit" value="搜索" id="sousuo">
	</form>
</div>
<div class="mesForm">
	<form action="">
		<table style="margin:20px 0;width: 100%;">
			<tr>
				<td class="mesTdf" style="font-weight:bold">序号</td>
				<td class="mesTd" style="font-weight:bold">标题</td>
				<td class="mesTd" style="font-weight:bold;padding:5px 0;">发布时间</td>
				<td class="mesTd" style="font-weight:bold">作者</td>
				<td class="mesTd" style="font-weight:bold;padding:5px 0;">进入回收站时间</td>
				<td class="mesTd" style="font-weight:bold">操作</td>
				<td class="mesTd" style="font-weight:bold;padding:5px 0;">放入回收站原因</td>
			</tr>
			{volist name="mes" id="mesRow"}
			<tr>
				<td class="mesTdf">{$num++}</td>
				<td class="mesTd">{$mesRow.m_title}</td>
				<td class="mesTd">{$mesRow.m_createat | date='Y-m-d H:i:s'}</td>
				<td class="mesTd">{$mesRow.u_nick}</td>
				<td class="mesTd">{$mesRow.m_delat | date='Y-m-d H:i:s'}</td>
				<td class="mesTd">
				{compare name="mesRow.s_bin" value='0'}
					<a href="{:url('bindeal/binMesBack',['m_id'=>$mesRow.m_id])}">还原   |   </a>
					<a href="{:url('deal/mesdeal',['mid'=>$mesRow.m_id])}">彻底删除</a> 
					{else/}
					<a href="{:url('deal/mesdeal',['mid'=>$mesRow.m_id])}">彻底删除</a>
				{/compare}
				</td>
				<td class="mesTd">{$mesRow.m_reason}</td>
			</tr>
			{/volist}
		</table>
	</form>
</div>
<div id="view_page">{$page|raw}</div>
</body>
</html>